package com.tmpt.utils.report;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by wxy on 2017/12/6.
 */
public class TestDoc {
    public static void main(String[] args) {
        DocUtils docUtil=new DocUtils();
        Map<String, Object> dataMap=new HashMap<String, Object>();
        /*dataMap.put("name", "Joanna");
        dataMap.put("examNum", "111111111111");
        dataMap.put("IDCard", "222222222222222222");
        dataMap.put("carModel", "C1");
        dataMap.put("drivingSchool", "测试驾校");
        dataMap.put("busyType", "初次申领");
        dataMap.put("examDate", "2016-03-10");
        dataMap.put("orderCount", "第1次");
        dataMap.put("userImg1", docUtil.getImageStr("D:\\Img\\userImg1.png"));
        dataMap.put("userImg2", docUtil.getImageStr("D:\\Img\\userImg2.png"));
        dataMap.put("firstExamTime", "12:41:17-12:44:38");
        dataMap.put("firstExamScores", "0分，不及格");
        dataMap.put("firstDeductItem", "12:44:15 20102 1号倒车入库，车身出线 扣100分");
        dataMap.put("firstPic1", docUtil.getImageStr("D:\\Img\\firstPic1.png"));
        dataMap.put("firstPic2", docUtil.getImageStr("D:\\Img\\firstPic2.png"));
        dataMap.put("firstPic3", docUtil.getImageStr("D:\\Img\\firstPic3.png"));
        dataMap.put("secondExamTime", "12:46:50-13:05:37");
        dataMap.put("secondExamScores", "90分，通过");
        dataMap.put("secondDeductItem", "");
        dataMap.put("secondPic1", docUtil.getImageStr("D:\\Img\\secondPic1.png"));
        dataMap.put("secondPic2", docUtil.getImageStr("D:\\Img\\secondPic2.png"));
        dataMap.put("secondPic3", docUtil.getImageStr("D:\\Img\\secondPic3.png"));*/
        dataMap.put("recorddate", "dddddddddd");
        dataMap.put("a2username", "dddddddddd");
        dataMap.put("address", "dddddddddd");
        dataMap.put("citizenadvise", "dddddddddd");
        dataMap.put("content", "content");
        dataMap.put("satis1", "satis1");
        dataMap.put("satis2", "satis2");
        dataMap.put("satis3", "satis3");
        dataMap.put("remark", "remark");
        docUtil.createDoc(dataMap, "commitee_work_log", "D:\\Report\\111.doc");
    }
}